@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>用户地址</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
	                        <div class="row">
	                            <div class="col-sm-3">
	                                <#NameCon id="yonghuPhone" name="手机号" placeholder="手机号"/>
	                            </div>
	                            <div class="col-sm-3">
	                                <#SelectCon id="userType" name="用户类型" >
	                                    <option value="-1">全部</option>
	                                    <option value="0">普通</option>
	                                    <option value="1">主管</option>
	                                    <option value="2">经理</option>
                                	</#SelectCon>
	                            </div>
	                         </div>
	                         <div class="row">
		                            <div class="col-sm-3">
										<#SelectCon id="province" name="用户地址所在地：省 ">
											<option id="choosePro"value="-1">请选择省份</option>
										</#SelectCon>
									</div>    
									<div class="col-sm-3">
										<#SelectCon id="citys" name="市" >
											<option id="chooseCity" value="-1">请选择城市</option>
									　　</#SelectCon>
									</div>    
									<div class="col-sm-3">
										<#SelectCon id="county"  name="县" >
											<option id="chooseCounty" value="-1">请选择城市</option>
									　　</#SelectCon>		 
									</div>
							 </div>
							 <div class="row">
		                         <div class="col-lg-4 col-sm-6">
										<#TimeCon id="beginTime" name="用户地址所在地开始时间" isTime="false" pattern="YYYY-MM-DD" />
								 </div>
								 <div class="col-lg-4 col-sm-6">
										<#TimeCon id="endTime" name="用户地址所在地结束时间" isTime="false" pattern="YYYY-MM-DD"/>
								 </div>
		                         <div class="col-sm-3">
		                               <#button name="搜索" icon="fa-search" clickFun="UsersAddress.search()"/>
		                               <#button name="导出Excel" icon="fa-search" clickFun="UsersAddress.export()"/>
		                               @if(shiro.hasPermission("/usersAddress/add")){
		                                	<#button name="添加" icon="fa-plus" clickFun="UsersAddress.openAddUsersAddress()"/>
			                            @}
			                            @if(shiro.hasPermission("/usersAddress/update")){
			                                <#button name="修改" icon="fa-edit" clickFun="UsersAddress.openUsersAddressDetail()" space="true"/>
			                            @}
			                            @if(shiro.hasPermission("/usersAddress/delete")){
			                                <#button name="删除" icon="fa-remove" clickFun="UsersAddress.delete()" space="true"/>
			                            @}
		                         </div>
	                         </div>
                        </div>
                        <div class="hidden-xs" id="UsersAddressTableToolbar" role="group">
                        </div>
                        <#table id="UsersAddressTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/huamao/usersAddress/usersAddress.js"></script>
<script src="${ctxPath}/static/modular/huamao/public/areas.js"></script>
<script src="${ctxPath}/static/modular/huamao/account/tableExport.js"></script>
@}
